<?php
/**
 * Created by PhpStorm.
 * User: robot
 * Date: 2018-04-26
 * Time: 17:56
 */

namespace app\pub\controller;


use app\base\Auth;
use think\Controller;

class Loginout extends Controller
{
    /***
     * 退出功能
     */
    public function index()
    {

        Auth::outLogin();
        $this->success('退出成功', '/index');
    }
}